<template>
  <div class="header">
    <router-link to="/">
      <div class="header-back">
        <span class="iconfont">&#xe624;</span>
      </div>
    </router-link>
    <div class="header-title">
      城市选择
    </div>
  </div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style scoped lang="stylus">
  @import '~css/varibles.styl'
  .header
    overflow: hidden
    position: relative
    height: $headerHeight
    line-height: $headerHeight
    background-color: $bgColor
    color: #ffffff
    font-size: .32rem
    padding: 0 .2rem
    .header-back
      padding: 0 .2rem
      position: absolute
      top: 0
      left: 0
      color: #ffffff
    .header-title
      text-align: center
</style>
